package com.taldh.design.patterns.statemachine.impl;

public enum OrderEventEnum {

    CREATE_EVENT(1, "创建订单"),
    PAY_EVENT(2, "支付"),
    SHIPPING(3, "发货"),
    CONFIRM_RECEIVE(4, "确认收货"),

    ;

    OrderEventEnum(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public int status;

    public String desc;

    public int getStatus() {
        return status;
    }
}